package com.gitee.magic.framework.base.rest;

import com.gitee.magic.framework.head.exception.BusinessException;

/**
 * 由Rest分布式架构,业务Code返回不为200而产生的业务异常
 * 
 * @author Start
 */
public class BusinessRestException extends BusinessException {

	private static final long serialVersionUID = 1L;

	private int code;
	private String msg;
	private String logno;
	private String content;
	private String name;

	public BusinessRestException(String content, int code, String msg, String logno,String name) {
		super(content);
		this.code=code;
		this.msg=msg;
		this.logno=logno;
		this.name=name;
		this.content=content;
	}
	
	public int getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}

	public String getLogno() {
		return logno;
	}

	public String getContent() {
		return content;
	}

	public String getName() {
		return name;
	}
	
}
